.class public Lcom/estrongs/android/pop/app/leftnavigation/g0;
.super Landroid/widget/BaseExpandableListAdapter;
.source "NaviManagerAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/leftnavigation/g0$b;,
        Lcom/estrongs/android/pop/app/leftnavigation/g0$c;
    }
.end annotation


# instance fields
.field private a:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/gn;",
            ">;"
        }
    .end annotation
.end field

.field private c:Landroid/content/Context;

.field private d:Landroid/os/Handler;

.field private e:Lcom/estrongs/android/pop/app/leftnavigation/c0;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/os/Handler;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->c:Landroid/content/Context;

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->d:Landroid/os/Handler;

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->d()V

    return-void
.end method

.method private a(Ljava/lang/String;)I
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a:Ljava/util/Map;

    if-eqz v0, :cond_0

    invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    return p1

    :cond_0
    const/4 p1, -0x1

    return p1
.end method

.method private a(Les/gn;)V
    .locals 3

    .line 12
    invoke-virtual {p1}, Les/gn;->l()Z

    move-result v0

    const/4 v1, 0x1

    xor-int/2addr v0, v1

    .line 13
    invoke-virtual {p1, v0}, Les/gn;->b(Z)V

    .line 14
    invoke-virtual {p1}, Les/gn;->d()Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 15
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    .line 16
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/pm;

    .line 17
    invoke-virtual {v2, v0}, Les/pm;->a(Z)V

    goto :goto_0

    .line 18
    :cond_0
    invoke-virtual {p0}, Landroid/widget/BaseExpandableListAdapter;->notifyDataSetChanged()V

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->e:Lcom/estrongs/android/pop/app/leftnavigation/c0;

    if-eqz p1, :cond_1

    .line 20
    invoke-interface {p1, v1}, Lcom/estrongs/android/pop/app/leftnavigation/c0;->a(Z)V

    :cond_1
    return-void
.end method

.method private a(Les/gn;Les/pm;)V
    .locals 2

    .line 22
    invoke-virtual {p2}, Les/pm;->g()Z

    move-result v0

    const/4 v1, 0x1

    xor-int/2addr v0, v1

    .line 23
    invoke-virtual {p2, v0}, Les/pm;->a(Z)V

    .line 24
    invoke-virtual {p1}, Les/gn;->d()Ljava/util/List;

    move-result-object p2

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :cond_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/pm;

    .line 25
    invoke-virtual {v0}, Les/pm;->g()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 p2, 0x0

    goto :goto_0

    :cond_1
    const/4 p2, 0x1

    .line 26
    :goto_0
    invoke-virtual {p1, p2}, Les/gn;->b(Z)V

    .line 27
    invoke-virtual {p0}, Landroid/widget/BaseExpandableListAdapter;->notifyDataSetChanged()V

    .line 28
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->e:Lcom/estrongs/android/pop/app/leftnavigation/c0;

    if-eqz p1, :cond_2

    .line 29
    invoke-interface {p1, v1}, Lcom/estrongs/android/pop/app/leftnavigation/c0;->a(Z)V

    :cond_2
    return-void
.end method

.method private c()Landroid/graphics/drawable/Drawable;
    .locals 4

    .line 1
    new-instance v0, Landroid/graphics/drawable/ColorDrawable;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060249

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-direct {v0, v1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    .line 2
    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v2

    const v3, 0x7f06024a

    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    .line 3
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v2

    invoke-virtual {v2, v0, v1}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    return-object v0
.end method

.method private d()V
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->c()Lcom/estrongs/android/pop/app/leftnavigation/d0;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->a(Z)V

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->c()Lcom/estrongs/android/pop/app/leftnavigation/d0;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->b(Z)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->c()Lcom/estrongs/android/pop/app/leftnavigation/d0;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->c(Z)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a:Ljava/util/Map;

    return-void
.end method


# virtual methods
.method public a()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/gn;",
            ">;"
        }
    .end annotation

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    return-object v0
.end method

.method public synthetic a(ILandroid/view/View;)V
    .locals 1

    .line 5
    iget-object p2, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->d:Landroid/os/Handler;

    if-eqz p2, :cond_0

    .line 6
    invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;

    move-result-object p2

    const/16 v0, 0x67

    .line 7
    iput v0, p2, Landroid/os/Message;->what:I

    .line 8
    iput p1, p2, Landroid/os/Message;->arg1:I

    const/4 p1, 0x1

    .line 9
    iput p1, p2, Landroid/os/Message;->arg2:I

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->d:Landroid/os/Handler;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/leftnavigation/c0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->e:Lcom/estrongs/android/pop/app/leftnavigation/c0;

    return-void
.end method

.method public synthetic a(Les/gn;Landroid/view/View;)V
    .locals 0

    .line 11
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a(Les/gn;)V

    return-void
.end method

.method public synthetic a(Les/gn;Les/pm;Landroid/view/View;)V
    .locals 0

    .line 21
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a(Les/gn;Les/pm;)V

    return-void
.end method

.method public b()V
    .locals 16

    .line 2
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    move-object/from16 v1, p0

    .line 3
    :try_start_0
    iget-object v2, v1, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_b

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Les/gn;

    .line 4
    invoke-virtual {v9}, Les/gn;->e()Ljava/lang/String;

    move-result-object v10

    .line 5
    invoke-virtual {v9}, Les/gn;->d()Ljava/util/List;

    move-result-object v11

    .line 6
    invoke-virtual {v10}, Ljava/lang/String;->hashCode()I

    move-result v13

    const/4 v14, 0x4

    const/4 v15, 0x3

    const/4 v3, 0x2

    const/4 v12, 0x1

    sparse-switch v13, :sswitch_data_0

    goto :goto_1

    :sswitch_0
    const-string v13, "Device"

    invoke-virtual {v10, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_1

    const/4 v10, 0x3

    goto :goto_2

    :sswitch_1
    const-string v13, "Library"

    invoke-virtual {v10, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_1

    const/4 v10, 0x2

    goto :goto_2

    :sswitch_2
    const-string v13, "Favorite"

    invoke-virtual {v10, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_1

    const/4 v10, 0x0

    goto :goto_2

    :sswitch_3
    const-string v13, "Toolkit"

    invoke-virtual {v10, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_1

    const/4 v10, 0x4

    goto :goto_2

    :sswitch_4
    const-string v13, "LocalSdcard"

    invoke-virtual {v10, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_1

    const/4 v10, 0x1

    goto :goto_2

    :cond_1
    :goto_1
    const/4 v10, -0x1

    :goto_2
    if-eqz v10, :cond_a

    if-eq v10, v12, :cond_8

    if-eq v10, v3, :cond_6

    if-eq v10, v15, :cond_4

    if-eq v10, v14, :cond_2

    goto :goto_0

    .line 7
    :cond_2
    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_3
    :goto_3
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Les/pm;

    .line 8
    invoke-virtual {v9}, Les/pm;->g()Z

    move-result v9

    if-nez v9, :cond_3

    add-int/lit8 v8, v8, 0x1

    goto :goto_3

    .line 9
    :cond_4
    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_5
    :goto_4
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Les/pm;

    .line 10
    invoke-virtual {v9}, Les/pm;->g()Z

    move-result v9

    if-nez v9, :cond_5

    add-int/lit8 v7, v7, 0x1

    goto :goto_4

    .line 11
    :cond_6
    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_7
    :goto_5
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Les/pm;

    .line 12
    invoke-virtual {v9}, Les/pm;->g()Z

    move-result v9

    if-nez v9, :cond_7

    add-int/lit8 v6, v6, 0x1

    goto :goto_5

    .line 13
    :cond_8
    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_9
    :goto_6
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Les/pm;

    .line 14
    invoke-virtual {v9}, Les/pm;->g()Z

    move-result v9

    if-nez v9, :cond_9

    add-int/lit8 v5, v5, 0x1

    goto :goto_6

    .line 15
    :cond_a
    invoke-virtual {v9}, Les/gn;->l()Z

    move-result v3

    xor-int/lit8 v4, v3, 0x1

    goto/16 :goto_0

    :cond_b
    const-string v2, "page"

    const-string v3, "nav_manage"

    .line 16
    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "event"

    const-string v3, "save"

    .line 17
    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "collect"

    .line 18
    invoke-virtual {v0, v2, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "local"

    .line 19
    invoke-virtual {v0, v2, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "library"

    .line 20
    invoke-virtual {v0, v2, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "network"

    .line 21
    invoke-virtual {v0, v2, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "tool"

    .line 22
    invoke-virtual {v0, v2, v8}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 23
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v2

    const-string v3, "other"

    invoke-virtual {v2, v3, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void

    nop

    :sswitch_data_0
    .sparse-switch
        -0x49070ff4 -> :sswitch_4
        0x1f44461e -> :sswitch_3
        0x427c2dbc -> :sswitch_2
        0x6d20bc9b -> :sswitch_1
        0x79d00a76 -> :sswitch_0
    .end sparse-switch
.end method

.method public synthetic b(Les/gn;Landroid/view/View;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a(Les/gn;)V

    return-void
.end method

.method public getChild(II)Les/pm;
    .locals 1

    .line 2
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    if-eqz v0, :cond_0

    if-ltz p1, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge p1, v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    .line 3
    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/gn;

    invoke-virtual {p1}, Les/gn;->d()Ljava/util/List;

    move-result-object p1

    if-ltz p2, :cond_0

    .line 5
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ge p2, v0, :cond_0

    .line 6
    invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/pm;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public bridge synthetic getChild(II)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getChild(II)Les/pm;

    move-result-object p1

    return-object p1
.end method

.method public getChildId(II)J
    .locals 0

    int-to-long p1, p2

    return-wide p1
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 6

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getChild(II)Les/pm;

    move-result-object p2

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getGroup(I)Les/gn;

    move-result-object p3

    if-nez p2, :cond_0

    return-object p4

    :cond_0
    const/4 p5, 0x1

    if-nez p4, :cond_1

    .line 3
    new-instance p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;

    const/4 v0, 0x0

    invoke-direct {p4, p0, v0}, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/g0;Lcom/estrongs/android/pop/app/leftnavigation/g0$a;)V

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->c:Landroid/content/Context;

    invoke-static {v1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f0c028f

    invoke-virtual {v1, v2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 5
    invoke-virtual {v0, p5}, Landroid/view/View;->setFocusable(Z)V

    const v1, 0x7f090203

    .line 6
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/CheckBox;

    iput-object v1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->a:Landroid/widget/CheckBox;

    const v1, 0x7f090bb1

    .line 7
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->b:Landroid/widget/TextView;

    const v1, 0x7f0909b4

    .line 8
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->c:Landroid/widget/ImageView;

    .line 9
    invoke-virtual {v0, p4}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    .line 10
    :cond_1
    invoke-virtual {p4}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;

    move-object v5, v0

    move-object v0, p4

    move-object p4, v5

    .line 11
    :goto_0
    iget-object v1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->b:Landroid/widget/TextView;

    invoke-virtual {p2}, Les/pm;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 12
    iget-object v1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->a:Landroid/widget/CheckBox;

    invoke-virtual {p2}, Les/pm;->g()Z

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    const-string v1, "Favorite"

    .line 13
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a(Ljava/lang/String;)I

    move-result v1

    const/16 v2, 0x8

    if-ne p1, v1, :cond_2

    .line 14
    iget-object p1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->c:Landroid/widget/ImageView;

    invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_2

    .line 15
    :cond_2
    iget-object p1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->c:Landroid/widget/ImageView;

    invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 16
    invoke-virtual {p2}, Les/pm;->d()Ljava/lang/String;

    move-result-object p1

    const-string v1, "#home_page#"

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    const/4 v3, 0x0

    if-nez p1, :cond_4

    .line 17
    invoke-virtual {p2}, Les/pm;->d()Ljava/lang/String;

    move-result-object p1

    const-string v4, "#home#"

    invoke-virtual {v4, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_3

    goto :goto_1

    :cond_3
    const/4 p5, 0x0

    .line 18
    :cond_4
    :goto_1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/l;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    if-eqz p5, :cond_5

    .line 19
    invoke-virtual {p2}, Les/pm;->d()Ljava/lang/String;

    move-result-object p5

    invoke-virtual {p1, p5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_5

    .line 20
    iget-object p1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->c:Landroid/widget/ImageView;

    invoke-virtual {p1, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 21
    iget-object p1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->c:Landroid/widget/ImageView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p4

    const p5, 0x7f080577

    const v1, 0x7f0600cb

    invoke-virtual {p4, p5, v1}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p4

    invoke-virtual {p1, p4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_2

    .line 22
    :cond_5
    iget-object p1, p4, Lcom/estrongs/android/pop/app/leftnavigation/g0$b;->c:Landroid/widget/ImageView;

    invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 23
    :goto_2
    new-instance p1, Lcom/estrongs/android/pop/app/leftnavigation/u;

    invoke-direct {p1, p0, p3, p2}, Lcom/estrongs/android/pop/app/leftnavigation/u;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/g0;Les/gn;Les/pm;)V

    invoke-virtual {v0, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object v0
.end method

.method public getChildrenCount(I)I
    .locals 1

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getGroup(I)Les/gn;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 2
    invoke-virtual {p1}, Les/gn;->d()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p1}, Les/gn;->d()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    return p1

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public getGroup(I)Les/gn;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/gn;

    return-object p1
.end method

.method public bridge synthetic getGroup(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getGroup(I)Les/gn;

    move-result-object p1

    return-object p1
.end method

.method public getGroupCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b:Ljava/util/List;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    :goto_0
    return v0
.end method

.method public getGroupId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 10

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getGroup(I)Les/gn;

    move-result-object p4

    if-nez p4, :cond_0

    return-object p3

    .line 2
    :cond_0
    invoke-virtual {p4}, Les/gn;->i()I

    move-result v0

    .line 3
    invoke-virtual {p4}, Les/gn;->e()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    if-nez p3, :cond_2

    .line 4
    new-instance p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;

    const/4 v3, 0x0

    invoke-direct {p3, p0, v3}, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/g0;Lcom/estrongs/android/pop/app/leftnavigation/g0$a;)V

    .line 5
    iget-object v4, p0, Lcom/estrongs/android/pop/app/leftnavigation/g0;->c:Landroid/content/Context;

    invoke-static {v4}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v4

    const v5, 0x7f0c0290

    invoke-virtual {v4, v5, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 6
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/android/ui/theme/b;->l()Z

    move-result v4

    if-eqz v4, :cond_1

    .line 7
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->c()Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    :cond_1
    const v4, 0x7f080075

    .line 8
    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundResource(I)V

    .line 9
    :goto_0
    invoke-virtual {v3, v2}, Landroid/view/View;->setFocusable(Z)V

    const v4, 0x7f090203

    .line 10
    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    iput-object v4, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->a:Landroid/widget/ImageView;

    const v4, 0x7f0906d0

    .line 11
    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    iput-object v4, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->b:Landroid/widget/ImageView;

    const v4, 0x7f090bb1

    .line 12
    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iput-object v4, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->c:Landroid/widget/TextView;

    const v4, 0x7f0909b4

    .line 13
    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    iput-object v4, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->d:Landroid/widget/ImageView;

    .line 14
    invoke-virtual {v3, p3}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_1

    .line 15
    :cond_2
    invoke-virtual {p3}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;

    move-object v9, v3

    move-object v3, p3

    move-object p3, v9

    .line 16
    :goto_1
    iget-object v4, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->c:Landroid/widget/TextView;

    invoke-virtual {p4}, Les/gn;->h()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 17
    iget-object v4, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->c:Landroid/widget/TextView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v5

    const v6, 0x7f06024c

    invoke-virtual {v5, v6}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v4, 0x4

    const v5, 0x7f0602dc

    const/4 v6, 0x0

    if-ne v0, v2, :cond_5

    const-string v0, "Favorite"

    .line 18
    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    if-eqz p2, :cond_3

    .line 19
    iget-object v0, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->b:Landroid/widget/ImageView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v5

    .line 20
    invoke-virtual {p4}, Les/gn;->f()I

    move-result v7

    const v8, 0x7f0602db

    .line 21
    invoke-virtual {v5, v7, v8}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_2

    .line 22
    :cond_3
    iget-object v0, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->b:Landroid/widget/ImageView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v7

    .line 23
    invoke-virtual {p4}, Les/gn;->f()I

    move-result v8

    invoke-virtual {v7, v8, v5}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    .line 24
    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 25
    :goto_2
    iget-object v0, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 26
    iget-object v0, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->d:Landroid/widget/ImageView;

    const v5, 0x7f080583

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    if-eqz p2, :cond_4

    .line 27
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->d:Landroid/widget/ImageView;

    const/high16 v0, 0x43340000    # 180.0f

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setRotation(F)V

    goto :goto_3

    .line 28
    :cond_4
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->d:Landroid/widget/ImageView;

    const/4 v0, 0x0

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setRotation(F)V

    .line 29
    :goto_3
    new-instance p2, Lcom/estrongs/android/pop/app/leftnavigation/s;

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/s;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/g0;I)V

    invoke-virtual {v3, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_5

    :cond_5
    const-string p2, "Vip"

    .line 30
    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_6

    .line 31
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->b:Landroid/widget/ImageView;

    invoke-virtual {p4}, Les/gn;->f()I

    move-result v0

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_4

    .line 32
    :cond_6
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->b:Landroid/widget/ImageView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    .line 33
    invoke-virtual {p4}, Les/gn;->f()I

    move-result v7

    invoke-virtual {v0, v7, v5}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 34
    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 35
    :goto_4
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->d:Landroid/widget/ImageView;

    invoke-virtual {p2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 36
    new-instance p2, Lcom/estrongs/android/pop/app/leftnavigation/t;

    invoke-direct {p2, p0, p4}, Lcom/estrongs/android/pop/app/leftnavigation/t;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/g0;Les/gn;)V

    invoke-virtual {v3, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 37
    :goto_5
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->a:Landroid/widget/ImageView;

    new-instance v0, Lcom/estrongs/android/pop/app/leftnavigation/r;

    invoke-direct {v0, p0, p4}, Lcom/estrongs/android/pop/app/leftnavigation/r;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/g0;Les/gn;)V

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string p2, "Test"

    .line 38
    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_7

    .line 39
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->a:Landroid/widget/ImageView;

    invoke-virtual {p2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_6

    .line 40
    :cond_7
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->a:Landroid/widget/ImageView;

    invoke-virtual {p2, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 41
    :goto_6
    iget-object p2, p3, Lcom/estrongs/android/pop/app/leftnavigation/g0$c;->a:Landroid/widget/ImageView;

    invoke-virtual {p4}, Les/gn;->l()Z

    move-result p3

    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 42
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->getGroupCount()I

    move-result p2

    sub-int/2addr p2, v2

    if-ne p1, p2, :cond_8

    const/high16 p1, 0x41200000    # 10.0f

    .line 43
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/t;->a(F)I

    move-result p1

    goto :goto_7

    :cond_8
    const/4 p1, 0x0

    .line 44
    :goto_7
    invoke-virtual {v3, v6, v6, v6, p1}, Landroid/view/View;->setPadding(IIII)V

    return-object v3
.end method

.method public hasStableIds()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public isChildSelectable(II)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public onGroupCollapsed(I)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroid/widget/BaseExpandableListAdapter;->onGroupCollapsed(I)V

    return-void
.end method

.method public onGroupExpanded(I)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroid/widget/BaseExpandableListAdapter;->onGroupExpanded(I)V

    return-void
.end method
